/**
 * @func 组合继承
 */
function Parent () {
    this.name='parents';
    this.play=[1,2,3];
}
function Child () {
    Parent.call(this);
    this.type = 'child';
}
Child.prototype = Object.create(Parent.prototype);
Child.prototype.constructor = Child;